<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">

  <!-- 导入自己的样式 -->
  <link rel="stylesheet" href="/assets/css/user/user_info.css" />
</head>

<body>
  <div class="layui-card">
    <div class="layui-card-header">修改用户信息
    </div>
    <div class="layui-card-body">

      <form class="layui-form" lay-filter="userForm" action="">
        <!-- 添加一个id 的字段 因为更新用户需要id  -->
        <!-- 如果写的是type=text 需要手动添加隐藏的样式 -->
        <!-- 如果写的是type=hidden 浏览器自动帮我们隐藏 -->
        <input type="hidden" name="id">


        <!-- 登录名称 -->
        <div class="layui-form-item">
          <label class="layui-form-label">登录名称</label>
          <div class="layui-input-block">
            <input type="text" required lay-verify="required" placeholder="请输入标题" autocomplete="off" name="username"
              disabled class="layui-input">
          </div>
        </div>

        <!-- 用户昵称
 -->
        <div class="layui-form-item">
          <label class="layui-form-label">用户昵称</label>
          <div class="layui-input-block">
            <input type="text" name="nickname" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
              class="layui-input">
          </div>
        </div>

        <!-- 用户邮箱
 -->
        <div class="layui-form-item">
          <label class="layui-form-label">用户邮箱</label>
          <div class="layui-input-block">
            <input type="text" name="email" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
              class="layui-input">
          </div>
        </div>

        <!-- 提交重置 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary" id="btnReset">重置</button>
          </div>
        </div>

      </form>


    </div>
  </div>



  <script src="/assets/lib/layui/layui.all.js"></script>


  <!-- 导入 jquery -->
  <script src="/assets/lib/jquery.js"></script>

  <script src="/assets/js/api.js"></script>
  <!-- 导入自己的 js -->
  <script src="/assets/js/user/user_info.js"></script>




</body>

</html>